#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Instruments
{
     // <summary> 
	// ! This payoff is equivalent to being (1/lowerstrike) a) long (short) an AssetOrNothing Call (Put) at the lower strike and b) short (long) an AssetOrNothing Call (Put) at the higher strike
	// </summary>
    [Guid ("23D14EB7-419C-4bbd-AC08-C30219873735"),ComVisible(true)]
	public interface ISuperFundPayoff : Cephei.QL.Instruments.IStrikedTypePayoff
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 String Name {get;}
        
		 Double SecondStrike {get;}
    }

    // <summary> 
	// ! This payoff is equivalent to being (1/lowerstrike) a) long (short) an AssetOrNothing Call (Put) at the lower strike and b) short (long) an AssetOrNothing Call (Put) at the higher strike Factory
	// </summary>
   	[ComVisible(true)]
    public interface ISuperFundPayoff_Factory // : Collection_Factory<ISuperFundPayoff, ICell<ISuperFundPayoff>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ISuperFundPayoff Create (Double strike, Double secondStrike);
    }
}

